#include "MemoryManager.h"
#include <iostream>

namespace EngineCore {
	MemoryManager::MemoryManager()
	{
	}

	memory_address MemoryManager::AllocMemory(memory_size size)
	{		
		return malloc(size);
	}

	void MemoryManager::RetriveMemory(memory_address add)
	{
		free(add);
	}


	MemoryManager::~MemoryManager()
	{
	}
	MemoryStack & MemoryManager::AllocMemoryStack()
	{
		// Just fo fixing warning
		return *(new MemoryStack());
	}
}